using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using SqlSugar;
using AppDown.Db.Models.Base;

namespace AppDown.Db.Models
{
    /// <summary>
    /// APP下载表
    /// </summary>
    public class AppDownLoad : BaseEntity
    {
        /// <summary>
        /// 文件名
        /// </summary>
        [SugarColumn(IsNullable = false), Required(ErrorMessage = "缺少文件名信息")]
        public string FileName { get; set; }
        /// <summary>
        /// App版本号
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string AppVersion { get; set; }
        /// <summary>
        /// 安卓下载链接
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string AndroidUrl { get; set; }
        /// <summary>
        /// IOS下载链接
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string IosUrl { get; set; }

    }
}